<?php
require '../function.php';
if(!isset($_SESSION['id']) || PHP_INT_MAX != $_SESSION['id']) {
	echo '<script language="javascript">window.top.location.replace(\'login.php\');</script>';
	exit;
}
?>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<style type="text/css">
		.s1 {
			margin:5px 0px;
		}
		.s2 {
			background-color:#c0c0c0;
		}
	</style>
</head>
<body>
	<div class="s1"><a href="charge_code.php" target="content">充值密码</a></div>
	<br />
	<div class="s1"><a class="s2" href="logout.php" target="content">退出</a></div>
</body>
</html>